package com.jiyun.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.jiyun.model.sign.PendingSigning;
import com.jiyun.model.sign.dto.PendingSigningDto;
import com.jiyun.model.sign.dto.PendingSigningQuery;
import com.jiyun.vo.sign.PendingSigningVo;

import java.util.List;

/**
 * 针对表【-PendingSigning】的业务操作Service
 *
 * @author ???
 * @since 2024-09-27
 */
public interface IPendingSigningService extends IService<PendingSigning> {
    /**
     * 分页：查询当前页数据
     * @param query 查询参数
     * @return
     */
    public IPage<PendingSigning> getPageList(PendingSigningQuery query);

    PageInfo<PendingSigningVo> findAllPendingSigning(Integer flag, PendingSigningDto pendingSigningDto);

    Boolean ApprovedByreView(Integer pendingSigningId);

    Boolean reject(Integer pendingSigningId, String reasonForRejection);

    List<PendingSigningVo> ExceptionByids(List<Integer> list);
}
